<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ECSHOP v4.0.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Keywords" content="ECSHOP演示站">
<meta name="Description" content="ECSHOP演示站">
<title>ECSHOP演示站 - Powered by ECShop</title>
<base href="__ROOT__/home/">
<link rel="shortcut icon" href="http://localhost/dayi/ecshopceshi/ecshop/favicon.ico">
<link rel="icon" href="http://localhost/dayi/ecshopceshi/ecshop/animated_favicon.gif" type="image/gif">
<link href="css/style.css" rel="stylesheet" type="text/css">
<link rel="alternate" type="application/rss+xml" title="RSS|ECSHOP演示站 - Powered by ECShop" href="http://localhost/dayi/ecshopceshi/ecshop/feed.php">
<link rel="stylesheet" type="text/css" href="css/swiper.css">
<script language="javascript" src="js/swiper.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="js/common.js"></script><script type="text/javascript" src="js/index.js"></script></head>
<body>
<script type="text/javascript">
var process_request = "正在处理您的请求...";
</script>
<div class="top-bar">
  <div class="fd_top fd_top1">
    <div class="bar-left">
          <div class="top_menu1"> <script type="text/javascript" src="js/transport.js"></script><script type="text/javascript" src="js/utils.js"></script> 
          <font id="ECS_MEMBERZONE"><div id="append_parent"></div>
              欢迎光临本店<a href="{:url('login/login')}">
              <?php 
                 use think\Session;
                 $user_info = session::get("user_info");
                 if(!empty($user_info)){
                    echo $user_info['user_name'];
                 }else{
                    echo "登录";
                 }
                           
               ?><strong></strong></a>
              &nbsp;|&nbsp;&nbsp;
              <a href="{:url('login/login')}">登录</a> 
              <a href="{:url('login/reg')}">免费注册</a> 
          </font> </div>
    </div>
    <div class="bar-cart">
      <div class="fl cart-yh">
        <a href="{:url('user/welcome')}" class="">用户中心</a>
      </div>
             <div class="cart" id="ECS_CARTINFO"> <a href="{:url('shopcar/car')}" title="查看购物车">购物车</a> </div>
    </div>
  </div>
</div>
<div class="nav-menu">
  <div class="wrap">
    <div class="logo"><a href="{:url('index/index')}" name="top"><img src="images/logo.gif"></a></div>
    <div id="mainNav" class="clearfix maxmenu">
      <div class="m_left">
      <ul>
        <li><a href="{:url('index/index')}" class="cur">首页</a></li>
        {volist name='nav' id='v'}
                                <!-- {:url("Index/detail")}?id='+ iD  -->
                        <li><a href="{:url('index/fenlei')}?cat_id={$v.cat_id}">{$v.cat_name}</a></li>
           {/volist}     
      </ul>
      </div>
    </div>
    <div class="serach-box">
      <form method="get" action="{:url('index/fenlei')}">
        <table width="100%" cellspacing="0" cellpadding="0" border="0">
          <tbody><tr>
            <td width="135"><input name="keyword"  type="text"></td>
            <td><input  value="搜索"  type="submit"></td>
          </tr>
        </tbody></table>
      </form>
       <span class="fl">
            <foreach name="hot_data" item="v">
               <a href="#"></a>
            </foreach>
        </span>
    </div>
  </div>
</div>
<div class="clear0 "></div>
<script>
if (Object.prototype.toJSONString){
      var oldToJSONString = Object.toJSONString;
      Object.prototype.toJSONString = function(){
        if (arguments.length > 0){
          return false;
        }else{
          return oldToJSONString.apply(this, arguments);
        }
}}</script>
<div class="indexpage clearfix">
  <div class="index-cat">
    
<div class="category_info">
  <div id="category_tree">

  <!-- 无限极分类 start-->
  <?php foreach ($cat_data as $key => $value) { ?>
        <div class="cat-box" >
      <div class="cat1" >

     <a href="{:url('index/fenlei')}?cat_id={$value.cat_id}">
                                        {$value.cat_name}</a></div>
                   
            <div class="cat2-box" style="background-color:rgba(255, 255, 255, 0.8);">
      <?php foreach ($value['son'] as $key => $val) { ?>
                <div class="cat2 clearfix"  >
          <a class="cat2-link" href="{:url('index/fenlei')}?cat_id={$val.cat_id}">{$val.cat_name}</a>

                    <div class="cat3-block"></div>

          <div class="cat3-box">      
          <?php foreach ($val['son'] as $key => $v) { ?>     
                          <a href="{:url('index/fenlei')}?cat_id={$v.cat_id}">{$v.cat_name}</a>&nbsp;&nbsp;
          <?php } ?>
                      
            </div>
            
              </div>
          <?php } ?>  
      </div>
         
    </div>
        <?php } ?> 
        
  </div>
  <div class="clear0"></div>
  
</div>
 
 
  </div>
  <div class="index-banner"> 
  <div class="index-banner"> 
<style>
    .swiper-container {
        width: 100%;
        height: 100%;
    }
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }
    </style>
<div class="swiper-container swiper1">
        <div class="swiper-wrapper">
           {volist name='ad' id='v'}
            <div class="swiper-slide">
            
            <img src="__ROOT__/uploads/{$v.ad_img}" alt="" width="100%" height="100%">
            
            </div>
            {/volist}
           <!--  <div class="swiper-slide"><img src="" alt="" / width="100%" height="100%"></div>
            <div class="swiper-slide"><img src="" alt="" / width="100%" height="100%"></div> -->
          
        </div>
        
        <div class="swiper-pagination"></div>
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
    </div>


<script>
       var swiper = new Swiper('.swiper1', {
           pagination: '.swiper-pagination',
           nextButton: '.swiper-button-next',
           prevButton: '.swiper-button-prev',
           paginationClickable: true,
           spaceBetween: 0,
           centeredSlides: true,
           autoplay: 4000,
           loop:true,
           autoplayDisableOnInteraction: false
       });
</script> </div>
</div>
<div class="indexpage clearfix index-ad">
  <div class="ad-tg">
    

  </div>
  <div class="ad-lb">
     
 <style>
    .swiper-container.swiper2 {
        width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        overflow:hidden;
    }
    .swiper2 .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        height: 200px;
        
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }
    </style>
<div class="swiper-container swiper2">
        <div class="swiper-wrapper">
         {volist name='ad' id='v'}
            <div class="swiper-slide">           
            <img src="__ROOT__/uploads/{$v.ad_img}" alt="" / width="160px" height="120px">          
            </div>
             {/volist}
    <!--         <div class="swiper-slide"><img src="" alt="" / width="160px" height="160px"></div>
            <div class="swiper-slide"><img src="" alt="" / width="160px" height="160px"></div>
            <div class="swiper-slide"><img src="" alt="" / width="160px" height="160px"></div> -->
            
        </div>
        
        <div class="swiper-pagination"></div>
        
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
    </div>
<script>
    var swiper = new Swiper('.swiper2', {
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        slidesPerView: 4,
        paginationClickable: true,
        spaceBetween: 0,
        loop:true
    });
</script>  </div>
</div>
<div class="index-body">
  <div class="indexpage">
    <div class="body-goods">

    <?php foreach ($floordata as $key => $value): ?>
      

          <div class="goods-title"><?php echo $key+1 ?> F <?php echo $value['desc'] ?></div>
      <div class="clearfix goods-wrap">
        <div class="goods-leftad">
           <div class="swiper-slide"><img src="images/<?php echo $key ?>.jpg" alt="" / width="240px" height="560px"></div>
        </div>
        <div class="goods-right">           
<div class="all_ms">
       {volist name="$value['data']" id='v'}
        <a class="goodsItem" href="{:url('index/details')}?goods_id={$v.goods_id}"> <div  class="img-box"><img src="__ROOT__/uploads/{$v.goods_img}" alt="无图片" class="goodsimg" style="width:200px;height:150px" /></div>
      <div class="goods-brief"></div>
        <div class="gos-title">{$v.goods_name}</div> 
      <div class="prices">
              <font class="shop_s"><b>￥{$v.shop_price}元</b></font>
          </div>
       
      </a>
      {/volist}

    <div class="clear0"></div>
</div>
        </div>
      </div>


    <?php endforeach ?>


<div class="foot-body">
  <div class="bads"><img src="images/bottom.jpg"></div>
  <div class="clear10"></div>
  
     <div class="foot-help">
                      <dl>
          <dt class="xs-1">新手上路 </dt>
                      <dd><a href="article.html?id=9" target="_blank" title="售后流程">售后流程</a></dd>
                    <dd><a href="article.html?id=10" target="_blank" title="购物流程">购物流程</a></dd>
                    <dd><a href="article.html?id=11" target="_blank" title="订购方式">订购方式</a></dd>
           
        </dl>
         
                        <dl>
          <dt class="xs-2">手机常识 </dt>
                      <dd><a href="article.html?id=12" target="_blank" title="如何分辨原装电池">如何分辨原装电池</a></dd>
                    <dd><a href="article.html?id=13" target="_blank" title="如何分辨水货手机 ">如何分辨水货手机</a></dd>
                    <dd><a href="article.html?id=14" target="_blank" title="如何享受全国联保">如何享受全国联保</a></dd>
           
        </dl>
         
                        <dl>
          <dt class="xs-3">配送与支付 </dt>
                      <dd><a href="article.html?id=15" target="_blank" title="货到付款区域">货到付款区域</a></dd>
                    <dd><a href="article.html?id=16" target="_blank" title="配送支付智能查询 ">配送支付智能查询</a></dd>
                    <dd><a href="article.html?id=17" target="_blank" title="支付方式说明">支付方式说明</a></dd>
           
        </dl>
         
                        <dl>
          <dt class="xs-4">会员中心</dt>
                      <dd><a href="article.html?id=18" target="_blank" title="资金管理">资金管理</a></dd>
                    <dd><a href="article.html?id=19" target="_blank" title="我的收藏">我的收藏</a></dd>
                    <dd><a href="article.html?id=20" target="_blank" title="我的订单">我的订单</a></dd>
           
        </dl>
         
                 
                 
         
        <div class="foot-weixin">
          <div class="weixin-txt">关注demo微信</div>
          <div class="weixin-pic">
            <img src="images/weixin.jpg">
          </div>
        </div>
    </div>
     
    
   
  
  <div class="blank"></div>
  <!--版权 start
<div class="footer_info"> &copy; 2005-2018 ECSHOP 版权所有，并保留所有权利。       <br />
      <a href="http://xyunqi.com/products/ecshop?from=nav" target="_blank" style=" font-family:Verdana; font-size:11px;">Powered&nbsp;by&nbsp;<strong><span style="color: #3366FF">ECShop</span>&nbsp;<span style="color: #FF9966">v4.0.0</span></strong></a>&nbsp;<a href="http://www.ecshop.com/license.html?product=ecshop_b2c&url=http%3A%2F%2F127.0.0.1%2Fshixun%2FEC4%2Fsource%2Fecshop%2F" target="_blank"
>&nbsp;&nbsp;Licensed</a><br />
            <div>ICP备案证书号:<a href="http://www.miibeian.gov.cn/" target="_blank"></a></div>
    </div>
  <div class="clear10"></div>-->
</div>
 
 
</body>
</html>